/**
 *共配置信息
 */
import Raven from 'raven-js'

if (!process.IS_DEBUG) {
    Raven.config('https://47e7f778e6e94f77a27aaa40425c202a@yunke-sentry.myscrm.cn/22').install()
}

var pagerConfig = {
    pageSize: 10
};

export default  {
    pager: function (opts) {
        return $.extend({}, pagerConfig, opts);
    },
    uploader: {
        max_file_size: 1024 * 1024 * 10,
        max_file_size_text: '10M',
        max_file_size_20: 1024 * 1024 * 20,
        max_file_size_text_20: '20M'
    }
};